# $Id: PKGBUILD 83160 2013-01-27 16:20:02Z pierre $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Max Fehrm max.fehrm@gmail.com

pkgname=libmusicbrainz4
pkgver=4.0.3
pkgrel=1
pkgdesc="Library That Provides Access to the MusicBrainz Server"
arch=('i686' 'x86_64')
url="http://musicbrainz.org/"
license=('LGPL2.1')
depends=('neon')
makedepends=('cmake')
source=(https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-$pkgver.tar.gz)
md5sums=('19b43a543d338751e9dc524f6236892b')

build() {
  cd libmusicbrainz-$pkgver
  cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr
  make
}

package() {
  cd libmusicbrainz-$pkgver
  make DESTDIR="$pkgdir" install
}
